<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="./plugin/layui/css/layui.css">
		<link rel="stylesheet" href="./css/index.css">
	</head>
	<body>
		<div class="box">
			<table id="dataTable" lay-filter='dataTable'></table>
			<div class="add_form">
				<form class="layui-form" action="">
					<div class="layui-form-item">
						<label class="layui-form-label">物品名称:</label>
						<div class="layui-input-block">
							<input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input add_item_name">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">单价（元）:</label>
						<div class="layui-input-inline">
							<input type="text" name="title" required lay-verify="required" placeholder="请输入单价" autocomplete="off" class="layui-input add_item_price">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">单位:</label>
						<div class="layui-input-inline">
							<input type="text" name="title" required lay-verify="required" placeholder="请输入单位" autocomplete="off" class="layui-input add_item_format">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">数量:</label>
						<div class="layui-input-inline">
							<input type="text" name="title" required lay-verify="required" placeholder="请输入数量" autocomplete="off" class="layui-input add_item_total">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">库存预警:</label>
						<div class="layui-input-inline">
							<input type="text" name="title" required lay-verify="required" placeholder="请输入库存预警" autocomplete="off" class="layui-input add_item_inventory">
						</div>
					</div>
					<div class="layui-form-item">
						<div class="layui-input-block btn">
							<button type="reset" class="layui-btn layui-btn-primary">取消</button>
							<button class="layui-btn" lay-submit lay-filter="formDemo">提交</button>
						</div>
					</div>
				</form>
			</div>
			<div class="updata_form">
				<form class="layui-form" action="">
					<div class="layui-form-item">
						<label class="layui-form-label">物品名称:</label>
						<div class="layui-input-block">
							<input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input updata_item_name">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">单价（元）:</label>
						<div class="layui-input-block">
							<input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input updata_item_price">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">单位:</label>
						<div class="layui-input-block">
							<input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input updata_item_price">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">数量:</label>
						<div class="layui-input-block">
							<input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input updata_item_price">
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">库存预警:</label>
						<div class="layui-input-block">
							<input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input updata_item_price">
						</div>
					</div>
				</form>
			</div>
		</div>
		<script type="text/html" id="barDemo">
		  <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
		</script>
		<script src="https://cdn.bootcdn.net/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
		<script src="plugin/layui/layui.js"></script>
		<script src="js/indedx.js"></script>
	</body>
</html>
